package Public_Protected_Default_Private;

public class MyAnother {

    public void anotherMethod(){
        MyClass myClass = new MyClass();
        //MyClass类中num1是private修饰，所以不能同包跨类访问
        //myClass.num1
    }
}
